<div class="ctn_account">
<div class="submenu">
<a href="<?=site_url('account')?>">Vos Commandes</a>
<a href="<?=site_url('account/address')?>">Adresses Livraisons</a>
<a href="<?=site_url('account/update_password')?>">Mot de Passe</a>
</div>
<div class="delivery_address">
<h3>Votre Adresse</h3>

<form action="" method="post">
<?php echo form_error('community_id','<div class="error">* ', '</div>'); ?>
* Commune:
<select name="community_id">
<option value="" selected="selected">choissisez votre commune</option>
<?php foreach ($communities as $c):?>

<option value="<?=$c->id?>" <?php echo set_select('community_id', $c->id); ?>><?=$c->code?>&nbsp;<?=$c->name?></option>
<?php endforeach;?>
</select><br>
<?php echo form_error('ring','<div class="error">* ', '</div>'); ?>
<label>* Sonnette:</label><input value="" type="text" name="ring"><br>
<?php echo form_error('house_num','<div class="error">* ', '</div>'); ?>
<label>* Numéro:</label><input value="" type="text" name="house_num"><br>
<?php echo form_error('address','<div class="error">* ', '</div>'); ?>
<label>* Adresse:</label><input value="" type="text" name="address"><br>
<?php echo form_error('tele','<div class="error">* ', '</div>'); ?>
<label>* Téléphone:</label><input value="" type="text" name="tele"><br>
<input value="<?=$member->id?>" type="hidden" name="member_id">
<input type="submit" value="ajouter"> ou
<a href="<?=site_url('account/address')?>">annuler</a>
</form>

</div>
<div class="clear"></div>
</div>
</div>